<h1>Reserved!</h1>
<?php
	$query = $this->db->get_where("teachers", array("userid" => $teacherid));
	
	foreach($query->result() as $row){
		$teachername = $row->lastname . ", " . $row->firstname;
		echo "$teachername - $date, $time";
	}
?>
